package com.km.team.phsystem.service;

import com.km.team.phsystem.beans.pojo.BusinessTypeOptArticle;

import java.util.List;

/**
 * Author: jiangjun
 * Date: 2019-01-19
 * Time: 15:57
 * Description: 业务类型操作说明
 */
public interface IBusiTypeArticleService {

    int update(BusinessTypeOptArticle article) throws Exception;

    BusinessTypeOptArticle getDataById(Integer id) throws Exception;

    List<BusinessTypeOptArticle> getTitleList() throws Exception;

    int delete(Integer id) throws Exception;

    /**
     * 根据业务类型查询
     * @param busiType
     * @return
     * @throws Exception
     */
    List<BusinessTypeOptArticle> getDataByBusiType(Integer busiType) throws Exception;
}
